package com.zero.enable.starter.selector;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class MyImportSelector implements ImportSelector {
    //会将这个方法返回的数组，放到容器中
    @Override
    public String[] selectImports(AnnotationMetadata annotationMetadata) {
        return new String[]{"com.zero.enable.starter.service.CounterService",
                "com.zero.enable.starter.service.LoggerService",
                "com.zero.enable.starter.service.MonitorService"};
    }
}
